package com.fzh.pojo.entity;

public class OrderInfo {
	
	private Integer id;
	/**
	 * 链接用户表的外键id
	 */
	private Integer f_uid;
	/**
	 * 链接商品表的外键id
	 */
	private Integer f_pid;
	/**
	 * 下单后的订单号
	 */
	private Long orderId;
	/**
	 * 订单的金额
	 */
	private Double money;
	/**
	 * 订单的状态（0代表待付款，1代表代发货，2代表待收货，3代表待评价）
	 */
	private Integer status;
	/**
	 * 收货人的名字
	 */
	private String name;
	/**
	 * 收货人的电话
	 */
	private String phone;
	/**
	 * 收货地址(省)
	 */
	private String province;
	/**
	 * 收货地址(市)
	 */
	private String city;
	/**
	 * 收货地址(区)
	 */
	private String area;
	/**
	 * 收货地址的详细信息
	 */
	private String addressInfo;
	/**
	 * 单件商品的价格
	 */
	private Double price;
	/**
	 * 购买商品的数量
	 */
	private Integer count;
	/**
	 * 商品的尺寸大小
	 */
	private String size;
	/**
	 * 订单的备注
	 */
	private String mark;
	/**
	 * 订单创建的时间
	 */
	private String createTime;
	/**
	 * 订单付款的时间
	 */
	private String paymentTime;
	/**
	 * 订单的发货时间
	 */
	private String deliveryTime;
	/**
	 * 订单的成交时间/完成时间/结束时间
	 */
	private String finishTimeTime;
	/**
	 * 商品的名称
	 */
	private String pName;
	
	
	
	public OrderInfo(Integer id, Integer f_uid, Integer f_pid, Long orderId, Double money, Integer status, String name,
			String phone, String province, String city, String area, String addressInfo, Double price, Integer count,
			String size, String mark, String createTime, String paymentTime, String deliveryTime, String finishTimeTime,
			String pName) {
		super();
		this.id = id;
		this.f_uid = f_uid;
		this.f_pid = f_pid;
		this.orderId = orderId;
		this.money = money;
		this.status = status;
		this.name = name;
		this.phone = phone;
		this.province = province;
		this.city = city;
		this.area = area;
		this.addressInfo = addressInfo;
		this.price = price;
		this.count = count;
		this.size = size;
		this.mark = mark;
		this.createTime = createTime;
		this.paymentTime = paymentTime;
		this.deliveryTime = deliveryTime;
		this.finishTimeTime = finishTimeTime;
		this.pName = pName;
	}
	public String getpName() {
		return pName;
	}
	public void setpName(String pName) {
		this.pName = pName;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getF_uid() {
		return f_uid;
	}
	public void setF_uid(Integer f_uid) {
		this.f_uid = f_uid;
	}
	public Integer getF_pid() {
		return f_pid;
	}
	public void setF_pid(Integer f_pid) {
		this.f_pid = f_pid;
	}
	public Long getOrderId() {
		return orderId;
	}
	public void setOrderId(Long orderId) {
		this.orderId = orderId;
	}
	public Double getMoney() {
		return money;
	}
	public void setMoney(Double money) {
		this.money = money;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getProvince() {
		return province;
	}
	public void setProvince(String province) {
		this.province = province;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getArea() {
		return area;
	}
	public void setArea(String area) {
		this.area = area;
	}
	public String getAddressInfo() {
		return addressInfo;
	}
	public void setAddressInfo(String addressInfo) {
		this.addressInfo = addressInfo;
	}
	public Double getPrice() {
		return price;
	}
	public void setPrice(Double price) {
		this.price = price;
	}
	public Integer getCount() {
		return count;
	}
	public void setCount(Integer count) {
		this.count = count;
	}
	public String getSize() {
		return size;
	}
	public void setSize(String size) {
		this.size = size;
	}
	public String getMark() {
		return mark;
	}
	public void setMark(String mark) {
		this.mark = mark;
	}
	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public String getPaymentTime() {
		return paymentTime;
	}
	public void setPaymentTime(String paymentTime) {
		this.paymentTime = paymentTime;
	}
	public String getDeliveryTime() {
		return deliveryTime;
	}
	public void setDeliveryTime(String deliveryTime) {
		this.deliveryTime = deliveryTime;
	}
	public String getFinishTimeTime() {
		return finishTimeTime;
	}
	public void setFinishTimeTime(String finishTimeTime) {
		this.finishTimeTime = finishTimeTime;
	}
	
	
	
	public OrderInfo(Integer f_uid, Integer f_pid, Long orderId, Double money, String name, String phone,
			String province, String city, String area, String addressInfo, Double price, Integer count, String size,
			String mark) {
		super();
		this.f_uid = f_uid;
		this.f_pid = f_pid;
		this.orderId = orderId;
		this.money = money;
		this.name = name;
		this.phone = phone;
		this.province = province;
		this.city = city;
		this.area = area;
		this.addressInfo = addressInfo;
		this.price = price;
		this.count = count;
		this.size = size;
		this.mark = mark;
	}
	@Override
	public String toString() {
		return "OrderInfo [id=" + id + ", f_uid=" + f_uid + ", f_pid=" + f_pid + ", orderId=" + orderId + ", money="
				+ money + ", status=" + status + ", name=" + name + ", phone=" + phone + ", province=" + province
				+ ", city=" + city + ", area=" + area + ", addressInfo=" + addressInfo + ", price=" + price + ", count="
				+ count + ", size=" + size + ", mark=" + mark + ", createTime=" + createTime + ", paymentTime="
				+ paymentTime + ", deliveryTime=" + deliveryTime + ", finishTimeTime=" + finishTimeTime + ", pName="
				+ pName + "]";
	}
	public OrderInfo(Integer id, Integer f_uid, Integer f_pid, Long orderId, Double money, Integer status, String name,
			String phone, String province, String city, String area, String addressInfo, Double price, Integer count,
			String size, String mark, String createTime, String paymentTime, String deliveryTime,
			String finishTimeTime) {
		super();
		this.id = id;
		this.f_uid = f_uid;
		this.f_pid = f_pid;
		this.orderId = orderId;
		this.money = money;
		this.status = status;
		this.name = name;
		this.phone = phone;
		this.province = province;
		this.city = city;
		this.area = area;
		this.addressInfo = addressInfo;
		this.price = price;
		this.count = count;
		this.size = size;
		this.mark = mark;
		this.createTime = createTime;
		this.paymentTime = paymentTime;
		this.deliveryTime = deliveryTime;
		this.finishTimeTime = finishTimeTime;
	}
	public OrderInfo() {
		super();
	}
	
}
